package com.wangjiyuan.shiwupai.ui.activity.photo;

import com.wangjiyuan.shiwupai.base.base_map.BaseMap;
import com.wangjiyuan.shiwupai.bean.guangchi.photo.PhotoBean;
import com.wangjiyuan.shiwupai.http.HttpUtils;

import rx.Observable;

/**
 * Created by wjy on 2016/12/1.
 */

public class PhotoModel implements PhotoContract.PhotoModel {

    @Override
    public Observable<PhotoBean> getPhoto(String id) {
        return HttpUtils.getInstance().getHttpInterfaces().getPhoto(id, BaseMap.baseMap());
    }
}
